package cn.gok.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author shikundai
 * @date 2021/3/21
 * @time 13:46
 * @description
 */
@Data
@TableName("user")
public class User {
    @TableId(value = "user_id",type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("user_name")
    private String name;
    @TableField("user_psw")
    private String psw;
}
